<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<html>
<head>

    <title>Viewing</title>

    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    <meta name="author" content=""/>
    <meta name="description" content=""/>
    <meta name="keywords" content=""/>

    <link rel="stylesheet" href="css/main.css"/>

    <link href="favicon.ico" rel="shortcut icon"/>
    <link href="apple-icon.png" rel="apple-touch-icon"/>

</head>

<body>
<f:view>
    <h:form id="viewingForm">
        <div class="android-wrap">
            <div id="wrapper">
                <div id="header">
                    <h1 class="title">Ad Viewing</h1>
                    <ul class="app-controls">
                        <li>
                            <h:commandLink action="#{appBean.menu}" value="Back" styleClass="appc-back"/>
                        </li>
                        <li>
                            <h:commandLink action="#{appBean.toLogin}" value="Home" styleClass="appc-logout"/>
                        </li>
                    </ul>
                </div>
                <div id="content">
                    <ul class="main-navi">
                        <li>
                                 <span class="br">
                                     <span class="icon video">
                                        <h:commandLink action="#{appBean.videoAd}">
                                            <h:outputText value="Video Ad" style="color: #000000;"/>
                                        </h:commandLink>
                                     </span>
                                 </span>
                        </li>
                        <li>
                                 <span class="br">
                                     <span class="icon pictures">
                                        <h:commandLink action="#{appBean.pictures}">
                                            <h:outputText value="Pictures" style="color: #000000;"/>
                                        </h:commandLink>
                                     </span>
                                 </span>
                        </li>
                        <li>
                                 <span class="br">
                                     <span class="icon text">
                                        <h:commandLink action="#{appBean.text}">
                                            <h:outputText value="Text" style="color: #000000;"/>
                                        </h:commandLink>
                                     </span>
                                 </span>
                        </li>
                        <li>
                                 <span class="br">
                                     <span class="icon audio">
                                        <h:commandLink action="#{appBean.audio}">
                                            <h:outputText value="Audio" style="color: #000000;"/>
                                        </h:commandLink>
                                     </span>
                                 </span>
                        </li>
                        <li>
                                <span class="br">
                                    <span class="icon map">
                                        <h:commandLink action="#{appBean.adOnMap}">
                                            <h:outputText value="Ad on Map" style="color: #000000;"/>
                                        </h:commandLink>
                                    </span>
                                </span>
                        </li>
                        <li class="last-child">
                                <span class="br">
                                    <span class="icon language">
                                        <h:commandLink action="#{appBean.language}">
                                            <h:outputText value="Ad Language" style="color: #000000;"/>
                                        </h:commandLink>
                                    </span>
                                </span>
                        </li>
                    </ul>
                </div>
            </div>
            <a href="#" class="android-control back-btn">Back</a>
        </div>
    </h:form>
</f:view>
</body>
</html>